﻿// -----------------------------------------------------------------------
// <copyright file=PhieuPhauThuatThuThuatTaiChoChiTietBusiness company="">
// TODO: dangppsoft@gmail.com
// </copyright>
// -----------------------------------------------------------------------
namespace ManagerClinic.Core.Business
{
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using ManagerClinic.Core.Common;
    using ManagerClinic.Core.DataAccess;

    public class PhieuPhauThuatThuThuatTaiChoChiTietBusiness
    {
        PhieuPhauThuatThuThuatTaiChoChiTietDataAccess objDa = null;

        public PhieuPhauThuatThuThuatTaiChoChiTietBusiness()
        {
            objDa = new PhieuPhauThuatThuThuatTaiChoChiTietDataAccess();
        }

        public bool InsertPhieuPhauThuatThuThuatTaiChoChiTiet(PhieuPhauThuatThuThuatTaiChoChiTietEntity obj)
        {
            return objDa.InsertPhieuPhauThuatThuThuatTaiChoChiTiet(obj);
        }

        public bool EditPhieuPhauThuatThuThuatTaiChoChiTiet(PhieuPhauThuatThuThuatTaiChoChiTietEntity obj)
        {
            return objDa.EditPhieuPhauThuatThuThuatTaiChoChiTiet(obj);
        }

        public bool DeletePhieuPhauThuatThuThuatTaiChoChiTiet(string maPhauThuatThuThuat, string maChiTieu)
        {
            return objDa.DeletePhieuPhauThuatThuThuatTaiChoChiTiet(maPhauThuatThuThuat, maChiTieu);
        }

        public bool DeletePhieuPhauThuatThuThuatTaiChoChiTiet_ByMaPhauThuatThuThuat(string maPhauThuatThuThuat)
        {
            return objDa.DeletePhieuPhauThuatThuThuatTaiChoChiTiet_ByMaPhauThuatThuThuat(maPhauThuatThuThuat);
        }

        public PhieuPhauThuatThuThuatTaiChoChiTietEntity GetPhieuPhauThuatThuThuatTaiChoChiTiet(string maPhauThuatThuThuat, string maChiTieu)
        {
            return objDa.GetPhieuPhauThuatThuThuatTaiChoChiTiet(maPhauThuatThuThuat, maChiTieu);
        }

        public IList<PhieuPhauThuatThuThuatTaiChoChiTietEntity> GetPhieuPhauThuatThuThuatTaiChoChiTietList()
        {
            return objDa.GetPhieuPhauThuatThuThuatTaiChoChiTietList();
        }

        public IList<PhieuPhauThuatThuThuatTaiChoChiTietEntity> GetPhieuPhauThuatThuThuatTaiChoChiTietByMaPhauThuatList(string maPhauThuat)
        {
            return objDa.GetPhieuPhauThuatThuThuatTaiChoChiTietByMaPhauThuatList(maPhauThuat);
        }

    }
}